﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UsersInputFields.ascx.cs" Inherits="SERP.Modules.Users.UsersInputFields" %>
<%@ Register Assembly="DateTimePicker" Namespace="DateTimePicker" TagPrefix="cc1" %>
<div class="frow"> 
<asp:Label ID="labelUserName" runat="server" Text="UserName" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtUserName"  Width="400"></asp:TextBox>
</div>
<div class="frow"> 
<asp:Label ID="labelPassword" runat="server" Text="Password" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtPassword"  Width="400"></asp:TextBox>
</div>
<div class="frow"> 
<asp:Label ID="labelDisplayName" runat="server" Text="DisplayName" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtDisplayName"  Width="400"></asp:TextBox>
</div>
<div class="frow"> 
<asp:Label ID="labelBirthDay" runat="server" Text="BirthDay" CssClass="label"  EnableViewState="False"></asp:Label>
		<cc1:DateTimePicker runat="server" ID="txtBirthDay"></cc1:DateTimePicker>
</div>
<div class="frow"> 
<asp:Label ID="labelEmail" runat="server" Text="Email" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtEmail"  Width="400"></asp:TextBox>
</div>
<div class="frow"> 
<asp:Label ID="labelGender" runat="server" Text="Gender" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtGender" MaxLength="4" Width="400" ></asp:TextBox>
		<asp:RegularExpressionValidator ID="validExpressionGender" Display="dynamic" runat="server" ControlToValidate="txtGender"
		ErrorMessage="*dữ liệu dạng số nguyên" ValidationExpression="^\d+$" ValidationGroup="btnSave"></asp:RegularExpressionValidator>
		<asp:RequiredFieldValidator ID="validRQGender" ValidationGroup="btnSave" Text="" runat="server" ErrorMessage="* không được để trống" Display="dynamic" ControlToValidate="txtGender"></asp:RequiredFieldValidator>
</div>
<div class="frow"> 
<asp:Label ID="labelAddress" runat="server" Text="Address" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtAddress"  Width="400"></asp:TextBox>
</div>
<div class="frow"> 
<asp:Label ID="labelPhone" runat="server" Text="Phone" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtPhone"  Width="400"></asp:TextBox>
</div>
<div class="frow"> 
<asp:Label ID="labelIsActived" runat="server" Text="IsActived" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:CheckBox runat="server" ID="txtIsActived"></asp:CheckBox>
</div>
<div class="frow"> 
<asp:Label ID="labelUserType" runat="server" Text="UserType" CssClass="label"  EnableViewState="False"></asp:Label>
		<asp:TextBox runat="server" ID="txtUserType" MaxLength="4" Width="400" ></asp:TextBox>
		<asp:RegularExpressionValidator ID="validExpressionUserType" Display="dynamic" runat="server" ControlToValidate="txtUserType"
		ErrorMessage="*dữ liệu dạng số nguyên" ValidationExpression="^\d+$" ValidationGroup="btnSave"></asp:RegularExpressionValidator>
		<asp:RequiredFieldValidator ID="validRQUserType" ValidationGroup="btnSave" Text="" runat="server" ErrorMessage="* không được để trống" Display="dynamic" ControlToValidate="txtUserType"></asp:RequiredFieldValidator>
</div>
